package com.zjh.document.entity.VO;

import lombok.AllArgsConstructor;
import lombok.Data;
import lombok.NoArgsConstructor;

@Data
@NoArgsConstructor
@AllArgsConstructor
public class GenerateOfficeConfigParamVO {

    /**
     * 文件路径
     */
    private String filePath;

    /**
     * 文件名称
     */
    private String fileName;

    /**
     * 文件存储类型 true 为minio false 为local
     */
    private Boolean storageType;

    /**
     * callBackUrl
     */
    private String callBackUrl;

    /**
     * 模式,edit,preview
     */
    private String model;

    /**
     * User
     */
    private User user;
}

@Data
@AllArgsConstructor
@NoArgsConstructor
class User {
    String id;
    String name;
}
